package com.mofum.msdom.excel.converter.impl.javatype;

import com.mofum.msdom.excel.converter.TypeConverter;

import java.lang.reflect.Type;

/**
 * 字符串转换器
 *
 * @author 1615690513@qq.com
 * @since 2018/11/21 0021 11:47
 */
public class StringConvert implements TypeConverter<String, String> {

    public String convert(String s, Type type) {
        if (s != null) {
            s = s.trim();
        }
        return s;
    }
}
